comment obycsql                                             version 5.02
comment ****************************************************************
comment * This TACL obey file will SQL/MP compile MOMI.  Note that     *
comment *  MOMI must be stopped and the object file closed prior to    *
comment *  using this file.                                            *
comment *                                                              *
comment * From a TACL prompt:                                          *
comment *                                                              *
comment *      obey obycsql                                            *
comment *                                                              *
comment * Normally, this file is invoked only once after a new version *
comment *  of MOMI is installed or after a major SQL version update.   *
comment *                                                              *
comment * Both TNS/R and Integrity code is included below and TACL     *
comment *  code determines the correct object to compile.              *
comment ****************************************************************


#frame

comment                                         == save current informat and
comment                                         ==  activate == commenting
comment                                         ==  (don't use == until tacl
comment                                         ==   informat is active)

#push #informat
#set  #informat tacl


                                                == SQL/MP compile program
                                                ==  to support dynamic
                                                ==  queries used to read
                                                ==  the catalog

                                                == case off processor type to
                                                ==  determine type of object
[#case [#processortype [#processinfo/cpu/]]     ==  code to launch

   |9|         sqlcomp /in bwmomi/  noregister on   ==  TNS/R object (S-Series)

   |10|        sqlcomp /in bwmomii/ noregister on   ==  TNS/E object (Integrity)

   |otherwise| sqlcomp /in bwmomix/ noregister on   ==  TNS/X object (Intel x64)

]


#unframe
